package com.yunsoft.util;

public class Constant {

	
	
	/***
	 * 成功的返回码
	 */
	public static String CODE = "code";
	
	
	/***
	 * 取得成功
	 */
	public static int CODE_SUCCESS = 0;
	
	/***
	 * 不需要返回任何数据
	 */
	public static int CODE_NODATA = 200;
	
	/***
	 * 返回错误信息
	 */
	public static int CODE_ERROR = 100;
	
	/***
	 * 取得失败
	 */
	public static int CODE_FAILE = 800;
	/***
	 * 成功的标注
	 */
	public static String RESULT = "success";
	/***
	 * 最后一条数据时间 在读取有时间的数据加载使用
	 */
	public static String REQUSTTIME = "requstTime";
	
	
	/***
	 * 成功的标注
	 */
	public static boolean SUCCESS = true;

	/***
	 * 失败的标注
	 */
	public static boolean FAILED = false;

	/***
	 * 消息标志
	 */
	public static String MESSAGE = "errMsg";
	
	/***
	 * 数据标志
	 */
	public static String DATAS = "data";
	
	public final static String DateFormatYMD = "yyyy-MM-dd ";
	public final static String DateFormatMD = "MM-dd ";
	public final static String DateFormatDDHHDD = "dd HH:mm ";
	public final static String DateFormatYMDHMS = "yyyy-MM-dd HH:mm:ss ";
	public final static String DateFormatYMDHMSS = "yyyy-MM-dd HH:mm:ss SSS";
	public final static String DateFormatYMDCH = "yyyy年MM月dd日";
	public final static String DateFormatYMDPoint = "yyyy.MM.dd";
	public final static String DateFormatYMDHM = "yyyy-MM-dd HH:mm";
	public final static String DateFormatYMDZ = "EEE, dd-MMM-yyyy HH:mm:ss z";
	public final static String DateFormatMDHMSZ = " MM-dd HH:mm:ss z";
	public final static String DateFormatMDHM = " MM-dd HH:mm";

	/**
	 * String: ""
	 */
	public static final String STR_NULL = "";
	/**
	 * int : null
	 * 
	 */
	public static final int NUMBERNULL = 0;

	/**
	 * Integer : 0
	 */
	public static final Integer ZERO = 0;

	/**************** 融云key 和 script ***********************/
	public static String RONGYUN_KEY = "pvxdm17jx8gxr";// 替换成您的appkey
	public static String RONGYUN_SECRET = "mxNkttDWt6uE3O";// 替换成匹配上面key的secret
	
	public static String AccessKeyID = "LTAIfiUZoYKS7Wsi";// 阿里oss 
	public static String AccessKeySecret = "WvcWbbzu4Lr4bvSfRPN6Fe4tY0eLX5";// 阿里oss 
	public static String RoleArn = "acs:ram::1520645505960355:role/aliyunosstokengeneratorrole";// 阿里oss 
	public static long TokenExpireTime = 900;// 阿里oss 
	public static String PolicyFile = "";// 阿里oss 
	
	public static String BUCKETNAME = "minority";// 阿里oss 
	
	public static String OSS_PREFIX = "oss-cn-shanghai.aliyuncs.com";// 阿里oss 
	//sql 分页数
	public static int PAGE_SIZE = 10;
	//极光推送 app_key
	public static final String JSPUSH_AppKey = "4eb7c64b13f8eb6692721967";
	
	//极光推送 Master Secret
	public static final String JSPUSH_Master_Secret = "cb40343b2ec1d26244d558b1";
	
	
	
    //微信appid
    public static final String WE_CHAT_APPID="wxa98fbc718a074bf2";
    //微信wx secret
    public static final String WE_CHAT_SECRET="538b6ff8a9cd175078f296ac26b5533d";
	
	
}
